package cjakma.study.portfolio.pofol.dao.impl;

//import java.util.Date;
//import java.util.Locale;
import java.util.ArrayList;
import java.util.List;

import org.mybatis.spring.support.SqlSessionDaoSupport;
//import org.springframework.context.MessageSource;
import org.springframework.stereotype.Repository;

import cjakma.study.portfolio.pofol.dao.PortfolioDAO;
import cjakma.study.portfolio.pofol.vo.RequestVO;
import cjakma.study.portfolio.pofol.vo.ResponseVO;

@Repository("PortfolioDAO")
public class PortfolioDAOImpl extends SqlSessionDaoSupport implements PortfolioDAO {
	
	/**
	 * 0. setTest
	 * POST - setTest : {context}/setTest
	 * @param vo
	 * @return successYn
	 * @throws Exception
	 */
	public ResponseVO setTest(RequestVO request) {
		System.out.println("DaoImpl");
		System.out.println("Param : " + request.getUserId());
		System.out.println("Param : " + request.getUserPwd());
		System.out.println("Param : " + request.getUserNm());
		System.out.println("Param : " + request.getUserPermission());
		getSqlSession().insert("setTest", request);
		// loadCallHistory = (getSqlSession().selectList("loadCallHistory", request));
		// String companySeq = ((String) getSqlSession().selectOne("getCompanySeq", request));
		// ResponseVO response = (getSqlSession().selectOne("chkRequestPrice", request));
		// userCnt = ((Integer) getSqlSession().selectOne("getUserPhoneCnt", request.getPhoneNum())).intValue();
		return null;
	}
	
}